package com.wanmait.model.pojo;

import java.io.Serializable;
import java.util.Date;

/**
    * 产品
    */
public class Product implements Serializable {
    private Integer id;

    /**
    * 所属企业id
    */
    private Integer supplierId;

    /**
    * 品类（数据字典中获取）
    */
    private Integer category;

    /**
    * 品名（数据字典）
    */
    private Integer name;

    /**
    * 牌号/型号/代码
    */
    private String model;

    /**
    * 产品来源
    */
    private String goodsSource;

    /**
    * 产品流向
    */
    private Integer goodsTo;

    /**
    * 数量
    */
    private String number;

    /**
    * 数量单位（数据字典中获得）
    */
    private Integer company;

    /**
    * 包装方式（数据字典获取）
    */
    private Integer packingMethod;

    /**
    * 相关标准（数据字典获取）
    */
    private Integer relevantStandards;

    /**
    * 备注
    */
    private String remarks;

    /**
    * 0删除   1未删
    */
    private Boolean enable;

    /**
    * 添加人
    */
    private Integer addStaffId;

    /**
    * 添加时间
    */
    private Date addTime;

    /**
    * 修改人
    */
    private Integer updateStaffId;

    /**
    * 修改时间
    */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public Integer getName() {
        return name;
    }

    public void setName(Integer name) {
        this.name = name;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getGoodsSource() {
        return goodsSource;
    }

    public void setGoodsSource(String goodsSource) {
        this.goodsSource = goodsSource;
    }

    public Integer getGoodsTo() {
        return goodsTo;
    }

    public void setGoodsTo(Integer goodsTo) {
        this.goodsTo = goodsTo;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Integer getCompany() {
        return company;
    }

    public void setCompany(Integer company) {
        this.company = company;
    }

    public Integer getPackingMethod() {
        return packingMethod;
    }

    public void setPackingMethod(Integer packingMethod) {
        this.packingMethod = packingMethod;
    }

    public Integer getRelevantStandards() {
        return relevantStandards;
    }

    public void setRelevantStandards(Integer relevantStandards) {
        this.relevantStandards = relevantStandards;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public Integer getAddStaffId() {
        return addStaffId;
    }

    public void setAddStaffId(Integer addStaffId) {
        this.addStaffId = addStaffId;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getUpdateStaffId() {
        return updateStaffId;
    }

    public void setUpdateStaffId(Integer updateStaffId) {
        this.updateStaffId = updateStaffId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", supplierId=").append(supplierId);
        sb.append(", category=").append(category);
        sb.append(", name=").append(name);
        sb.append(", model=").append(model);
        sb.append(", goodsSource=").append(goodsSource);
        sb.append(", goodsTo=").append(goodsTo);
        sb.append(", number=").append(number);
        sb.append(", company=").append(company);
        sb.append(", packingMethod=").append(packingMethod);
        sb.append(", relevantStandards=").append(relevantStandards);
        sb.append(", remarks=").append(remarks);
        sb.append(", enable=").append(enable);
        sb.append(", addStaffId=").append(addStaffId);
        sb.append(", addTime=").append(addTime);
        sb.append(", updateStaffId=").append(updateStaffId);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}